using System;

namespace ProcessesSMS
{
	/// <summary>
	/// Summary description for SMS_MO.
	/// </summary>
	public class SMS_MO
	{
		#region Properties
		private int _MO_ID;
		public int MO_ID
		{
			get 
			{
				return _MO_ID;
			}
			set
			{
				_MO_ID=value;
			}
		}
		private string _UserID;
		public string UserID
		{
			get 
			{
				return _UserID;
			}
			set
			{
				_UserID=value;
			}
		}
		private string _ServiceID;
		public string ServiceID
		{
			get 
			{
				return _ServiceID;
			}
			set
			{
				_ServiceID=value;
			}
		}
		private string _CommandCode;
		public string CommandCode
		{
			get 
			{
				return _CommandCode;
			}
			set
			{
				_CommandCode=value;
			}
		}
		private string _Message;
		public string Message
		{
			get 
			{
				return _Message;
			}
			set
			{
				_Message=value;
			}
		}
		private int _RequestID;
		public int RequestID
		{
			get 
			{
				return _RequestID;
			}
			set
			{
				_RequestID=value;
			}
		}
		private DateTime _RequestTime;
		public DateTime RequestTime
		{
			get 
			{
				return _RequestTime;
			}
			set
			{
				_RequestTime=value;
			}
		}

		private int _Count;
		public int Count
		{
			get 
			{
				return _Count;
			}
			set
			{
				_Count=value;
			}
		}

		#endregion
		public SMS_MO()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		
		public SMS_MO(int MO_ID,string UserID,string ServiceID,string CommandCode,string Message,int RequestID,DateTime RequestTime)
		{
			//
			// TODO: Add constructor logic here
			//
			_MO_ID = MO_ID;
			_UserID=UserID;
			_ServiceID=ServiceID.Replace("04","");
			_CommandCode=CommandCode; 
			_Message=Message.Trim();
			_RequestID=RequestID;
			_RequestTime=RequestTime;
		}
		public SMS_MO(int MO_ID,string UserID,string ServiceID,string CommandCode,string Message,int RequestID,DateTime RequestTime,int Count)
		{
			//
			// TODO: Add constructor logic here
			//
			_MO_ID = MO_ID;
			_UserID=UserID;
			_ServiceID=ServiceID.Replace("04","");
			_CommandCode=CommandCode; 
			_Message=Message.Trim();
			_RequestID=RequestID;
			_RequestTime=RequestTime;
			_Count = Count;
		}
	}
}
